/**
 * @type {import('@/types/global').calTableHeight}
 */
const calTableHeight = (searchHeight = 0, btnsHeight = 50, paginationHeigh = 30) => {

  /**公共高度  面包屑+tabs */
  const commonHeight = 150
  const height = window.innerHeight - searchHeight -
    btnsHeight -
    paginationHeigh - commonHeight


  return height
}


export default calTableHeight
